
from django.contrib import admin
from django.urls import path
from .views import *

# 设置应用程序命名空间
app_name = 'contents'

urlpatterns = [
    #path('index/', index,name = "index"),
    path("",IndexView.as_view(), name = "index"),   #啥也不写是因为是广告首页 即 https://127.0.0.1:8000/  取名为index 要与post请求中的对应起来

]
